package com.cloudsigns.factorymanager2.engineering.fragment;

import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.ListView;

import com.cloudsigns.factorymanager2.R;

public class EngineeringEditSuggestFeedbackFragment extends Fragment implements View.OnClickListener{
    private ImageView img_suggest_content;
    private ListView lv_suggest_content;
    private Button btn_save;

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view=inflater.inflate(R.layout.fragment_engineering_edit_suggest_feedback,null);
        img_suggest_content=view.findViewById(R.id.img_suggest_content);
        lv_suggest_content=view.findViewById(R.id.lv_suggest_content);
        btn_save=view.findViewById(R.id.btn_save);

        img_suggest_content.setOnClickListener(this);
        btn_save.setOnClickListener(this);
        return view;
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            // 建议内容
            case R.id.img_suggest_content:
                break;
            // 保存
            case R.id.btn_save:
                break;
        }
    }
}
